home *** CD-ROM | disk | FTP | other *** search
- Path: ece.rutgers.edu!not-for-mail
- From: daksis@ece.rutgers.edu (Randall Thomas)
- Newsgroups: comp.lang.c
- Subject: Re: Newbie: How to put a byte to a000:0001 or more?
- Date: 31 Mar 1996 05:05:42 -0500
- Organization: Rutgers University
- Message-ID: <4jlldm$bc0@ece.rutgers.edu>
- References: <4jhur8$995@sanjuan.islandnet.com> <4jihteINNodr@keats.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: ece.rutgers.edu
-
- In regards to the orignal problem of writing a pixel in mode 13h
-
- 1) make a far pointer to 0xa0000
- char far *screen = (char far *) MK_FP(0xa000,0);
- 2) call everything as thought this was an array of 64k bytes
-
- so screeen[100]=34 will be a valid statement....
-
- realy simple way to take care of it.
-
-